/*
 * @Author: wangc
 * @Date: 2020-07-29 10:04:12
 * @LastEditTime: 2020-08-30 16:39:23
 * @Description: 用来存放封装的api接口，用来向服务端请求数据
 */

import request from '../utils/axiosUtil' //引入封装好的 axios 请求

export function login(uid, psd) { //登录接口
    let data = {
        uid: uid,
        psd: psd
    }
    return request.post("/login", data)
}